package br.pucminas.virtual.validator.library;

public class ValidationResult {

	private boolean success;
	
	private String errorMessage;

	public ValidationResult(boolean success) {
		super();
		this.success = success;
	}

	public ValidationResult(boolean success, String errorMessage) {
		super();
		this.success = success;
		this.errorMessage = errorMessage;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	
	
}
